package com.credithc.signature.facade.facadeenum;

/**
 * 描述：mq发送状态常量<br/>
 * 作者：sunyang
 * 创建：2019/5/28 14:30
 * 版本：v1.0.0<br/>
 */
public enum MQSendStatusEnum {
    /**
     * 未发送
     */
    READY(0,"未发送"),

    /**
     * 发送成功
     */
    SUCCESS(1,"发送成功"),

    /**
     * 发送失败
     */
    FAIL(2,"发送失败");

    private int status;
    private String value;

    MQSendStatusEnum(int status){
        this.status = status;
    }

    public int getStatus(){
        return status;
    }

    MQSendStatusEnum(int status, String value) {
        this.status = status;
        this.value = value;
    }
}
